package com.ruoyi.myplayer.service.impl;

import com.ruoyi.myplayer.domain.AreaBean;
import com.ruoyi.myplayer.domain.HomeBean;
import com.ruoyi.myplayer.domain.VideoBean;
import com.ruoyi.myplayer.domain.VideoBean2;
import com.ruoyi.myplayer.mapper.HomeMapper;
import com.ruoyi.myplayer.service.AreaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author lvyq
 * @version 1.0
 * Create by 2025-02-25 16:18
 */
@Service
public class AreaServiceImpl implements AreaService {

    @Resource
    private   HomeMapper homeMapper;
    @Override
    public List<AreaBean> list() {
        List<AreaBean>  list = homeMapper.getAreaLst();
        return list;
    }

    @Override
    public List<VideoBean> list(VideoBean bean) {
        List<VideoBean>  list  = homeMapper.videoLst(bean);
        return list;
    }

    @Override
    public List<VideoBean2> list2(VideoBean2 bean) {
        List<VideoBean2>  list  = homeMapper.videoLst2(bean);
        return list;
    }
}
